Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@stdlib/math-base-special-ldexp

Package Overview
Dependencies
Maintainers
4
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stdlib/math-base-special-ldexp

Multiply a double-precision floating-point number by an integer power of two.

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
396K
increased by5.44%
Maintainers
4
Weekly downloads
 
Created

What is @stdlib/math-base-special-ldexp?

@stdlib/math-base-special-ldexp is a specialized npm package that provides a function to multiply a number by an integer power of two. This is useful in various mathematical computations, particularly in floating-point arithmetic and scientific calculations.

What are @stdlib/math-base-special-ldexp's main functionalities?

Multiply a number by an integer power of two

This feature allows you to multiply a floating-point number by 2 raised to the power of an integer. In this example, 1.5 is multiplied by 2^3, resulting in 12.

const ldexp = require('@stdlib/math-base-special-ldexp');
const result = ldexp(1.5, 3);
console.log(result); // 12

Other packages similar to @stdlib/math-base-special-ldexp

Keywords

FAQs

Package last updated on 24 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc